

import 'method_flutter_utils.dart';

abstract class FlutterUtilsPlatform {
  static FlutterUtilsPlatform _instance = MethodFlutterUtils();

  static FlutterUtilsPlatform get instance => _instance;

  /// TODO sd卡是否存在
  Future<bool> haveExternalStorage();

  /// TODO 获得当前是在手机上还是平板上
  Future<int> getPhoneType();

  /// TODO 当前语言环境
  Future<String> getLanguage();

  /// TODO 获得当前网络
  Future<String> getCurrentNetworkType();

  /// TODO 获得 imei
  Future<String> getImei();

  /// TODO 屏幕宽度
  Future<double> getScreenWidth();

  /// TODO 屏幕高度
  Future<double> getScreenHeight();

  /// TODO 屏幕密度
  Future<double> getScreenRatio();
}
